package a1.knight.quest;

public class KnightOfRoundTable implements Knight{
	private String name;
	private Quest quest;
	public KnightOfRoundTable(){		
	}
	public KnightOfRoundTable(String name, Quest quest){
		this.name = name;
		this.quest = quest;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	public void setQuest(Quest quest) {
		this.quest = quest;
	}
	@Override
	public void embarkOnQuest() {
		System.out.println("Knights name is " + name);
		quest.embark();
	}

}
